

import grails.test.*

class PspDataControllerTests extends ControllerUnitTestCase {
    protected void setUp() {
        super.setUp()
        mockDomain ProjectTeam
        mockForConstraintsTests(ProjectTeam)
        
    }
	
    protected void tearDown() {
        super.tearDown()
    }
	
    void testList() {
	controller.index()
        println('testPspDataSave : ' + controller.redirectArgs.action)
	assertEquals "list", controller.redirectArgs.action
    }

    void testShow() {
//        controller.params.login = "marcpalmer"
//        controller.params.password = "secret"
//        controller.params.passwordConfirm = "secret"
//        controller.signup()
//        controller.params.userId = 2
//        controller.params.taskId = 1
//        def model = controller.show()
//
//        println(pspList.inspect())
//	assert model.pspList
//	assertTrue model.pspList.count() > 0
    }
}
